home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 4 / Precision Software Applications Silver Collection Volume 4 (1993).iso / organise / snc10.arj / SAMPLE3.SML < prev    next >
Text File  |  1993-02-19  |  3KB  |  132 lines

  1. SAMPLE3.SML
  2.  
  3. First, set up some reasonable defaults
  4.  
  5. :begin_defaults
  6.  
  7. :expire_date 12/31/1994
  8. :expire      true
  9.  
  10. :bg_color green
  11. :fg_color black
  12.  
  13. :title      Another Sticky! from Fred!
  14. :user_name  Fred
  15. :group_name Looking Glass Technologies
  16.  
  17. :end_defaults
  18.  
  19. ------------------------------------------------------
  20.  
  21. :begin_note
  22.  
  23. :title Applet Demo
  24.  
  25. In each link, we must define the program and icon
  26. source file, but the other fields are left up to
  27. our judgement (or lack thereof).
  28.  
  29. These links assume that you have the most common
  30. Windows setup, i.e. c:\windows is your main Windows
  31. directory.  If you have Windows installed somewhere
  32. else, you'll have to edit the directory references
  33. below to make the resulting links work on your system.
  34.  
  35. :begin_link
  36. :program     notepad.exe
  37. :working_dir c:\windows
  38. :icon_source c:\windows\notepad.exe
  39. :icon_number 0
  40. :description Double-click here to run Notepad...
  41. :startup_option normal
  42. :run_on_alarm false
  43. :end_link
  44.  
  45. :begin_link
  46. :program     write.exe
  47. :working_dir c:\windows
  48. :icon_source c:\windows\write.exe
  49. :icon_number 0
  50. :description ...and here to run Write....
  51. :startup_option normal
  52. :run_on_alarm 0
  53. :end_link
  54.  
  55. :begin_link
  56. :program     cardfile.exe
  57. :working_dir c:\windows
  58. :icon_source c:\windows\cardfile.exe
  59. :icon_number 0
  60. :description ...and here to run Cardfile.
  61. :startup_option normal
  62. :run_on_alarm no
  63. :end_link
  64.  
  65. :begin_link
  66. :program     clock.exe
  67. :working_dir c:\windows
  68. :icon_source c:\windows\clock.exe
  69. :icon_number 0
  70. :description ...and here to run Clock...
  71. :startup_option normal
  72. :run_on_alarm no
  73. :end_link
  74.  
  75. :begin_link
  76. :program     calendar.exe
  77. :working_dir c:\windows
  78. :icon_source c:\windows\calendar.exe
  79. :icon_number 0
  80. :description ...and here for Calendar...
  81. :startup_option normal
  82. :run_on_alarm no
  83. :end_link
  84.  
  85. :begin_link
  86. :program     calc.exe
  87. :working_dir c:\windows
  88. :icon_source c:\windows\calc.exe
  89. :icon_number 0
  90. :description ...and here for the Calculator...
  91. :startup_option normal
  92. :run_on_alarm no
  93. :end_link
  94.  
  95. A wider note for the link buttons would be nice...
  96. :w 350
  97.  
  98. :begin_text
  99. Hit Ctrl-R to run all these applets, if you dare.
  100. :end_text
  101.  
  102. :end_note
  103.  
  104. ------------------------------------------------------
  105.  
  106. :begin_note
  107.  
  108. :title SNC: SAMPLE3.SML
  109.  
  110. :x 100
  111. :y 80
  112. :w 520
  113. :h 175
  114.  
  115. :bg_color gray
  116.  
  117. :begin_text
  118. The links on the other note in this demo won't \
  119. work properly if you have an unusal configuration, \
  120. or you have deleted some of the standard Windows \
  121. applets from your system.  In that case, trying to run the links \
  122. won't do anything harmful, but Stickies! will tell \
  123. you that each link can't be run, and it will ask \
  124. you if you want to edit the link.
  125.  
  126. This is a good lesson if you'll be creating notes with \
  127. SNC for other users: Be careful about the assumptions \
  128. you make about Windows configurations!
  129. :end_text
  130.  
  131. :end_note
  132.